package ai.xiaodao.config;

public class Const {
    /**
     * config files
     */
    public static String BROKER_CNF = "broker.cnf";
    public static String DB_CNF = "db.cnf";
    public static String SECURITY_CNF = "security.cnf";


    /**
     * config for security
     */
    public static String SEC_CODE = "code";
    public static String SEC_MARKET = "market";

    //sale
    public static String SEC_STRD_PRICE = "SalePrice";
    //触发价格
    public static String SEC_STRD_TRIGGER_PRICE = "SaleTriggerPrice";
    //交易类型  1:buy  2: sale
    public static String SEC_TRD_SIDE = "tradeSide";
    //交易数量
    public static String SEC_QTY = "qty";

    //buy
    public static String SEC_BTRD_PRICE = "BuyPrice";
    //触发价格
    public static String SEC_BTRD_TRIGGER_PRICE = "BuyTriggerPrice";
    //交易类型  1:buy  2: sale

    /**
     * sqlite database config keys
     */
    static String DB_NAME = "dbname";
    static String DB_SCRIPT = "script";
    static String DB_DATADIR = "datadir";

    /**
     * broker configs keys
     */
    static String USER_ID_KEY = "userID"; //user id
    static String USER_TRACE_ACC_KEY = "trdAcc"; //business account
    static String UNLOCK_TRADEPWD_MD5_KEY = "user.pass";  //user password
    static String OPEND_IP_KEY = "opendIP"; //openD daemon ip address
    static String OPEND_PORT_key = "opendPort";   //openD  port
    static String RSA_KEY_FILE_PATH = "rsaKeyFilePath";  //rsa private key path
    static String TRD_ENV = "env";

    public  static Integer PLACE_ORDER_MARK=-2;


}

